Skip to content

Conversation

@raulcd
Copy link
Member

@raulcd raulcd commented Apr 22, 2022

This PR tries to fix the current installation failures for git on brew as seen https://github.com/apache/arrow/runs/6114985460?check_suite_focus=true . Current error:

Installing git
==> Downloading https://ghcr.io/v2/homebrew/core/git/manifests/2.36.0
==> Downloading https://ghcr.io/v2/homebrew/core/git/blobs/sha256:5739e703f9ad34dba01e343d76f363143f740bf6e05c945c8f19a073546c6ce5
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:5739e703f9ad34dba01e343d76f363143f740bf6e05c945c8f19a073546c6ce5?se=2022-04-21T18%3A35%3A00Z&sig=ZdiaSBdomnIwd4Ga4PORXPs2%2FYZXrrLLaks61mgmyEs%3D&sp=r&spr=https&sr=b&sv=2019-12-12
==> Pouring git--2.36.0.big_sur.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink etc/bash_completion.d/git-completion.bash
Target /usr/local/etc/bash_completion.d/git-completion.bash
is a symlink belonging to [email protected]. You can unlink it:
  brew unlink [email protected] force the link and overwrite all conflicting files:
  brew link --overwrite gitTo list all files that would be deleted:
  brew link --overwrite --dry-run gitPossible conflicting files are:
/usr/local/etc/bash_completion.d/git-completion.bash -> /usr/local/Cellar/[email protected]/2.35.1/etc/bash_completion.d/git-completion.bash
/usr/local/etc/bash_completion.d/git-prompt.sh -> /usr/local/Cellar/[email protected]/2.35.1/etc/bash_completion.d/git-prompt.sh
/usr/local/bin/git -> /usr/local/Cellar/[email protected]/2.35.1/bin/git
/usr/local/bin/git-cvsserver -> /usr/local/Cellar/[email protected]/2.35.1/bin/git-cvsserver
/usr/local/bin/git-receive-pack -> /usr/local/Cellar/[email protected]/2.35.1/bin/git-receive-pack
/usr/local/bin/git-shell -> /usr/local/Cellar/[email protected]/2.35.1/bin/git-shell
/usr/local/bin/git-upload-archive -> /usr/local/Cellar/[email protected]/2.35.1/bin/git-upload-archive
/usr/local/bin/git-upload-pack -> /usr/local/Cellar/[email protected]/2.35.1/bin/git-upload-pack
Error: Could not symlink share/doc/git-doc/MyFirstContribution.html
Target /usr/local/share/doc/git-doc/MyFirstContribution.html
is a symlink belonging to [email protected]. You can unlink it:
  brew unlink [email protected] force the link and overwrite all conflicting files:
  brew link --overwrite [email protected] list all files that would be deleted:
  brew link --overwrite --dry-run [email protected]
Installing git has failed!

@github-actions
Copy link

@raulcd raulcd marked this pull request as ready for review April 22, 2022 12:09
@raulcd
Copy link
Member Author

raulcd commented Apr 22, 2022

@kou this change fixes the MAC OS failures but I am not entirely sure about fixing the git version to 2.35.1 instead of using the 2.36.0, I have also tried brew "git", link: true, conflicts_with: ["git"] to identify the conflict as shown on the usage here: https://github.com/Homebrew/homebrew-bundle/blob/master/README.md#usage but does not seem to work.
Let me know if you have other ideas I could try or if you are happy with fixing git to 2.35.1 for MAC OS at the moment.
The other build failures are fixed as part of #12945

@kszucs
Copy link
Member

kszucs commented Apr 22, 2022

@raulcd could we avoid pinning in Brewfile since that's the recommended way for the developers to install dependencies?

@raulcd
Copy link
Member Author

raulcd commented Apr 22, 2022

Closing this PR in favor of #12958

@raulcd raulcd closed this Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants